<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Reliese\Meta\SchemaManager;
use Reliese\Meta\MySql\Schema as MySqlSchema;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->register(\Illuminate\Mail\MailServiceProvider::class);
        $this->app->register(\Tymon\JWTAuth\Providers\LumenServiceProvider::class);
        $this->app->register(\SwooleTW\Http\LumenServiceProvider::class);
        $this->app->register(\Illuminate\Redis\RedisServiceProvider::class);

        if (env('APP_ENV') === 'dev') {
            $this->app->register(\Reliese\Coders\CodersServiceProvider::class);
        }
    }

    /**
     * Boot the authentication services for the application.
     *
     * @return void
     */
    public function boot()
    {
    }
}
